﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SysLogList.aspx.cs" Inherits="Console_System_SysLog_SysLogList" %>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="pagerForm" method="post" action="Console/System/SysLog/SysLogList.aspx" >
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="" />
    </form>
    <div class="pageHeader">
        <!--<搜索栏>-->
        <form id="searchForm" rel="pagerForm" onsubmit="return navTabSearch(this);" action="Console/System/SysLog/SysLogList.aspx"
        method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>操作内容：</label>
                    <input id="txtDetail"  name="txtDetail" type="text" value="<%=DetailString %>" />                    
                </li>
                <li> <%--value="<%=BgtimeString %>"--%>
                     <label style="width:90px" >操作开始时间：</label>
                      <input id="txtBgtime" type="text"    name="txtBgtime" size="20" class="date" value="<%=BgtimeString %>" />
                
                </li>
                <li>
                     <label style="width:90px" >操作结束时间：</label>
                 <input  id="txtEdtime" type="text"   name="txtedtime" size="20" class="date" value="<%=EdtimeString %>" />
                </li>

            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button  type="submit">
                                    检索</button></div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        </form>
        <!--</搜索栏>-->
    </div>
    <div class="pageContent">
        <table class="table" width="100%" layouth="138">
            <thead>
                <tr>
                    <%--   <th width="22">
                        <input type="checkbox" group="ids" class="checkboxCtrl">
                    </th>--%>
                      <th width="10" align="center">
                        序号
                    </th>
                    <th width="50" align="center">
                        日志类型
                    </th>
                    <th width="50" align="center">
                        模块名称
                    </th>
                    <th width="50" align="center">
                        操作名称
                    </th>
                    <th width="200">
                        日志内容
                    </th>
                    <th width="30">
                        IP地址
                    </th>
                    <th width="20">
                        操作员
                    </th>
                    <th width="30">
                        操作时间
                    </th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr>
                            <%-- <td>
                                <input name="ids" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem, "ID")%>' />
                            </td>--%>
                              <td>
                               <%# Container.ItemIndex + 1 + (PageNum-1) * NumPerPage%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "LogType")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Module")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Operate")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Detail")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Ip")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "CreateUser")%>
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "CreateTime")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" change="navTabPageBreak" param="numPerPage">
                    <option value="<%=NumPerPage%>">选择</option>
                    <option value="20">20</option>
                    <option value="30">30</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>"
                pagenumshown="<%=PageNumShown%>" currentpage="<%=PageNum%>">
            </div>
        </div>
    </div>
</body>
</html>
